package com.wanho.qz103.hrsaas.sys.service;

import com.wanho.qz103.hrsaas.commons.exception.ServiceException;
import com.wanho.qz103.hrsaas.commons.query.Page;
import com.wanho.qz103.hrsaas.commons.vo.TableVO;
import com.wanho.qz103.hrsaas.sys.pojos.Role;
import com.wanho.qz103.hrsaas.sys.vo.RoleVO;

/**
 * 角色模块 ： 业务处理接口
 */
public interface RoleService {
    boolean assignPrem(Role role) throws ServiceException ;
    TableVO findPage(Page page) throws ServiceException ;
    boolean remove(String id) throws ServiceException;

    RoleVO findById(String id) throws ServiceException;
}
